package com.example.pojo;

import java.util.Date;

public class Order {
    private String orderid;

    private String userid;

    private String parkingid;

    private String ordernumber;

    private Date orderCreateTime;

    private String orderStatus;

    private Date orderEndTime;

    private Double money;

    private Integer coupon;

    private String method;

    public Order(String orderid, String userid, String parkingid, String ordernumber, Date orderCreateTime, String orderStatus, Date orderEndTime, Double money, Integer coupon, String method) {
        this.orderid = orderid;
        this.userid = userid;
        this.parkingid = parkingid;
        this.ordernumber = ordernumber;
        this.orderCreateTime = orderCreateTime;
        this.orderStatus = orderStatus;
        this.orderEndTime = orderEndTime;
        this.money = money;
        this.coupon = coupon;
        this.method = method;
    }

    public Order() {
        super();
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid == null ? null : orderid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getParkingid() {
        return parkingid;
    }

    public void setParkingid(String parkingid) {
        this.parkingid = parkingid == null ? null : parkingid.trim();
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber == null ? null : ordernumber.trim();
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus == null ? null : orderStatus.trim();
    }

    public Date getOrderEndTime() {
        return orderEndTime;
    }

    public void setOrderEndTime(Date orderEndTime) {
        this.orderEndTime = orderEndTime;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getCoupon() {
        return coupon;
    }

    public void setCoupon(Integer coupon) {
        this.coupon = coupon;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method == null ? null : method.trim();
    }
}